package com.example.common.entity;

public class ResponseEntity<Data> {
    public static final int OK = 10000;
    public static final int ERROR = 10001;


    public int code;
    public String message;
    public Data data;

    public boolean isSuccess() {
        return code == OK;
    }
}
